package com.example.dingdong.enumerate;

public enum MenuOptionEnum {
	/**
	 * 是否出售
	 * (1、true:出售中;2、false:无食材)
	 */
	isSticky("是否出售", "isSticky", 0),
	/**
	 * 热卖推荐
	 * (1、true:推荐;2、false:不推荐)
	 */
	isRecommend("热卖推荐", "isRecommend", 1);
	
	private String nameCN;
	private String nameUS;
	private int index;

	private  MenuOptionEnum(String nameCN, String nameUS, int index) {
		this.nameCN = nameCN;
		this.nameUS = nameUS;
		this.index = index;
	}
	@Override
	public String toString() {
		return this.index + "_" + this.nameCN + "_" + this.nameUS;

	}
	public String getNameCN() {
		return nameCN;
	}

	public void setNameCN(String nameCN) {
		this.nameCN = nameCN;
	}

	public String getNameUS() {
		return nameUS;
	}

	public void setNameUS(String nameUS) {
		this.nameUS = nameUS;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}
}
